package com.cdvtc.fengchao.model;

// Product实体类
public class Product {
    private int id;
    private String photo;
    private String name;
    private String category;
    private String price; // 与数据库varchar类型对应
    private String features;
    private int supplierId;
    private int stock;

    // Getters and Setters
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public String getPhoto() { return photo; }
    public void setPhoto(String photo) { this.photo = photo; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getCategory() { return category; }
    public void setCategory(String category) { this.category = category; }
    public String getPrice() { return price; }
    public void setPrice(String price) { this.price = price; }
    public String getFeatures() { return features; }
    public void setFeatures(String features) { this.features = features; }
    public int getSupplierId() { return supplierId; }
    public void setSupplierId(int supplierId) { this.supplierId = supplierId; }
    public int getStock() { return stock; }
    public void setStock(int stock) { this.stock = stock; }
}
